<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>

<link rel="stylesheet"
	href="/jquery-easyui-1.5.2/themes/bootstrap/easyui.css"></link>
<link rel="stylesheet" href="/jquery-easyui-1.5.2/themes/icon.css"></link>
<link rel="stylesheet" href="/css/wholeStyle.css"></link>
<script type="text/javascript" src="/jquery-easyui-1.5.2/jquery.min.js"></script>
<script type="text/javascript"
	src="/jquery-easyui-1.5.2/jquery.easyui.min.js"></script>
<script type="text/javascript"
	src="/jquery-easyui-1.5.2/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/initComponent.js"></script>
<script type="text/javascript" src="/js/publicJs.js"></script>

<script type="text/javascript">
	$(function(){
		initMenu();
		$(".easyui-datebox").datebox("setValue",formatterDate(new Date()));
		$("#pp").pagination({
					height : 30,
					layout : [ 'sep' ],
					buttons : [ {
						iconCls : 'icon-my-first',
						handler : function() {
							alert("第一页");
						}
					},{
						iconCls : 'icon-my-prev',
						handler : function() {
						}
					},{
						iconCls : 'icon-my-next',
						handler : function() {
							closeDisabled();
						}
					},{
						iconCls : 'icon-my-last',
						handler : function() {
						}
					},{
						iconCls : 'icon-my-add',
						text : "新增",
						handler : function() {
							var tab=parent.$("#window-tabs").tabs("getSelected");
							changeTabStatus(tab,'新增');
							closeDisabled();
						}
					}, {
						iconCls : 'icon-my-update',
						text : "修改",
						handler : function() {
							alert("修改");
						}
					}, {
						iconCls : 'icon-my-delete',
						text : "删除",
						handler : function() {
							alert("删除");
						}
					}, {
						iconCls : 'icon-my-audit',
						text : "审核",
						handler : function() {
							alert("审核");
							$("#shenhe").hide();
						}
					} ]
				});
		
		$("#cgqgd1").datagrid({
			fit : true,
			rownumbers : true,
			columns : [ [ {
				field : 'ckid',
				title : "(仓库编号)",
				width : 100,
				sortable:true
			}, {
				field : 'ckname',
				title : "(仓库名称)",
				width : 120,
				sortable:true
			}, {
				field : 'qccl',
				title : "(期初存量)",
				width : 120,
				sortable:true
			}, {
				field : 'xycl',
				title : "(现有存量)",
				width : 100,
				sortable:true
			}] ]
		});
	})

</script>

</head>
<body style="margin: 0; padding: 0">
	<div id="menu"  style="width:150px;">   
	    <div>新增</div>   
	    <div>修改</div>   
	    <div>删除</div>   
	    <div class="menu-sep"></div>   
	    <div>Exit</div>   
	</div>  
	<div id="insertMenu"  style="width:150px;">   
	    <div>保存</div>   
	    <div>放弃</div>   
	</div>  
	
	<div id="pp"
		style="background: #efefef; border: 1px solid #ccc; height: 30px;"></div>
		<div class="form-warp">
		<form action="" id="form">
			<div class="form-children">
				<div class="form-item">
					<label for="no" class="label-blue" style="font-size:15px;">物料编号：</label> <input class="easyui-textbox"
						id="billNo" />
				</div>
				<div class="form-item">
					<label for="leib" class="label-blue" style="font-size:15px;">物料名称：</label> <input class="easyui-textbox"
						id="billDate" />
				</div>
				<div class="form-item">
					<label for="type" style="font-size:15px;">规格型号：</label> <input class="easyui-textbox"
						id="billStyleID" />
				</div>
				<div class="form-item">
					<label for="status" style="font-size:15px;">英文品名：</label> <input class="easyui-textbox" id="yingwengpingming" />
				</div>
			</div>
			<div class="form-children" style="padding-right:255px;">
				<!-- 表单中的一项 -->
				<div class="form-item" >
					<label for="emp" class="label-blue" style="font-size:15px;">物料类别：</label> <input class="easyui-textbox"
						id="emp" />
				</div>
				<div class="form-item" >
					<label for="dept" class="label-blue" style="font-size:15px;">计量单位：</label> <input class="easyui-textbox"
						id="dept" />
				</div>
				<div class="form-item" >
					<label for="maker" style="font-size:15px;">条形码编号：</label> <input
						id="maker"  class="easyui-textbox" />
				</div>
				
			</div>
		</form>
		
		<div id="tt" class="easyui-tabs"   style="margin-top:18px;margin-left:50px;width:980px;height:400px;border:1px solid #d9d9d9;">   
			<div title="基本资料" style="padding:5px;"> 
		
				<div class="form-warp">
		<form action="" id="form">
			<div class="form-children">
				<div class="form-item">
					<label for="no" class="label-blue">建议售价：</label> <input class="easyui-numberbox"
						id="billNo" />
				</div>
				<div class="form-item">
					<label for="leib" class="label-blue">使用币别：</label> <input class="easyui-textbox"
						id="billDate" />
				</div>
				<div class="form-item">
					<label for="type">售价A：</label> <input class="easyui-numberbox"
						id="billStyleID" />
				</div>
				<div class="form-item">
					<label for="status">物料形态：</label> <input class="easyui-numberbox" id="billStatusaaa" />
				</div>
			</div>
			
		</form>
		<form action="" id="form" style="margin-top:20px;">
		<div class="form-children">
				<div class="form-item">
					<label for="no" class="label-blua">售价B：</label> <input class="easyui-numberbox"
						id="billNo" />
				</div>
				<div class="form-item">
					<label for="leib">单价是否含税：</label> <input class="easyui-textbox"
						id="billDate" />
				</div>
				<div class="form-item">
					<label for="type">售价C：</label> <input class="easyui-numberbox"
						id="billStyleID" />
				</div>
				<div class="form-item">
					<label for="status">税目：</label> <input class="easyui-numberbox" id="billStatus" />
				</div>
			</div>
			
		</form>
		<form action="" id="form" style="margin-top:20px;">
		<div class="form-children">
				<div class="form-item">
					<label for="no" class="label-blua">售价D：</label> <input class="easyui-numberbox"
						id="billNo" />
				</div>
				<div class="form-item">
					<label for="leib">税率：</label> <input class="easyui-numberbox"
						id="billDate" />
				</div>
				<div class="form-item">
					<label for="type">售价E：</label> <input class="easyui-numberbox"
						id="billStyleID" />
				</div>
				<div class="form-item">
					<label for="status">采购提前期：</label> <input class="easyui-numberbox" id="billStatus" />
				</div>
			</div>
			
		</form>
		<form action="" id="form" style="padding-right:458px;margin-top:20px;">
		<div class="form-children">
				<div class="form-item">
					<label for="no" class="label-blua">标准进价：</label> <input class="easyui-numberbox"
						id="billNo" />
				</div>
				<div class="form-item">
					<label for="leib">主供应商：</label> <input class="easyui-textbox"
						id="billDate" />
				</div>
				
			</div>
			
		</form>
		<form action="" id="form" style="margin-top:20px;">
		<p style="padding:0px;margin-left:50px;">使用批号设定:</p>
		<div class="form-children">
				<div class="form-item">
					<input type="checkbox">使用批号管理
				</div>
					<div class="form-item">
					<input type="checkbox">使用出厂日期
				</div>
					<div class="form-item">
					<input type="checkbox">使用有效日期
				</div>
					<div class="form-item">
					<label for="no" class="label-blua">有效天数：</label> <input class="easyui-numberbox"
						id="billNo" />
				</div>
			</div>
		</form>
		</div>
			</div>
			<div title="存量总信息" style="padding:5px;">   
				<p style="float:left;padding:10px;margin-left:40px;">期初设定</p>
				<p style="margin-left:473px;padding:10px;">当前信息</p>
				
				<div class="form-warp1"  >
		<form action="" id="form1" style="margin-right:50px;">
			<div class="form-children">
				<div class="form-item">
					<label for="no" class="label-bluea">安全存量：</label> <input class="easyui-numberbox"
						id="billNo" />
				</div>
				<div class="form-item">
					<label for="leib" class="label-bluea">期初总数量：</label> <input class="easyui-textbox"
						id="billDate" />
				</div>
				<div class="form-item">
					<label for="type">低于安全存量：</label> <input class="easyui-numberbox"
						id="billStyleID" />
				</div>
				<div class="form-item">
					<label for="status">现有总数量：</label> <input class="easyui-numberbox" id="billStatus" />
				</div>
			</div>
			
		</form>
		<form action="" id="form1" style="margin-right:50px;margin-top:20px;">
			<div class="form-children">
				<div class="form-item">
					<label for="no" class="label-bluea">平均成本：</label> <input class="easyui-numberbox"
						id="billNo" />
				</div>
				<div class="form-item">
					<label for="leib" class="label-bluea">标准成本：</label> <input class="easyui-textbox"
						id="billDate" />
				</div>
				<div class="form-item">
					<label for="type">现行平均成本：</label> <input class="easyui-numberbox"
						id="billStyleID" />
				</div>
				<div class="form-item">
					<label for="status">标准总成本：</label> <input class="easyui-numberbox" id="billStatus" />
				</div>
			</div>
			
		</form>
		<form action="" id="form1" style="padding-right:458px;margin-right:50px;margin-top:20px;">
			<div class="form-children">
				<div class="form-item">
					<label for="no" class="label-bluea">期初总成本：</label> <input class="easyui-numberbox"
						id="billNo" />
				</div>
				<div class="form-item">
					<label for="leib" class="label-bluea">现行总成本：</label> <input class="easyui-textbox"
						id="billDate" />
				</div>
				
			</div>
			
		</form>
			</div>
			
			</div>
			<div title="存量明细信息" style="padding:5px;">   
				<table id="cgqgd1"></table>
			</div>
			<div title="交易资料" style="padding:5px;">   
				<p style="float:left;padding:10px;margin-left:30px;">期初设定</p>
				<p style="margin-left:300px;padding:10px;">当前信息</p>
				
				<div class="form-warp1"  >
		<form action="" id="form1" style="margin-right:450px;">
			<div class="form-children">
			
				<div class="form-item">
					<label for="no" class="label-bluea">最初出库日：</label> <input class="easyui-datebox"
						id="billNo" />
				</div>
				
				<input type="button" style="height:22px;width:25px;" value="...">
				
				<div class="form-item" >
					<label for="leib" class="label-bluea">最近出库日：</label> <input class="easyui-datebox"
						id="billDate" />
				</div>
				<input type="button" style="height:22px;width:25px;" value="...">
			</div>
			
		</form>
		<form action="" id="form1" style="margin-right:450px;">
			<div class="form-children">
			
				<div class="form-item">
					<label for="no" class="label-bluea">最初入库日：</label> <input class="easyui-datebox"
						id="billNo" />
				</div>
				
				<input type="button" style="height:22px;width:25px;" value="...">
				
				<div class="form-item" >
					<label for="leib" class="label-bluea">最近入库日：</label> <input class="easyui-datebox"
						id="billDate" />
				</div>
				<input type="button" style="height:22px;width:25px;" value="...">
			</div>
			
		</form>
		<form action="" id="form1" style="margin-right:450px;">
			<div class="form-children">
			
				<div class="form-item">
					<label for="no" class="label-bluea">呆滞起计天数：</label> <input class="easyui-numberbox"
						id="billNo" />
				</div>
				
				
				<div class="form-item" >
					<label for="leib" class="label-bluea">停用日期：</label> <input class="easyui-datebox"
						id="billDate" />
				</div>
				<input type="button" style="height:22px;width:25px;" value="...">
			</div>
			
		</form>
		</div>
			</div>
			<div title="物料描述" style="padding:5px;">   
						<div class="form-warp1"  >
		<form action="" id="form1" style="margin-right:450px;">
			<div class="form-children">
			
				<div class="form-item">
					<label for="no" class="label-bluea">自定义一：</label> <input class="easyui-combobox"  
						id="billNo" />
				</div>
				
				
				<div class="form-item" >
					<label for="leib" class="label-bluea">自定义二：</label> <input  class="easyui-combobox"  
						id="billDate" />
				</div>
			</div>
			
		</form>
		<form action="" id="form1" style="margin-right:450px;margin-top:20px;">
			<div class="form-item">
					物料说明：<textarea rows="10" cols="80" style="width:400px;"></textarea>
				</div>
		</form>
		</div>
			
			</div>
		</div>
		<a href="javascript:void(0)" id="mb" style="padding-left:50px;padding-top:20px;" class="easyui-menubutton"     
        data-options="menu:'#mm',iconCls:'icon-edit'">设定</a>   
        <a href="javascript:void(0)" style="padding-left:30px;padding-top:20px;" id="mba" class="easyui-menubutton"     
        data-options="menu:'#mm1',iconCls:'icon-edit'">功能</a> 
		<div id="mm" style="width:150px;" >   
   			<div>物料期初设定</div>   
    		<div>期初批号设定</div>   
    		<div>原厂物料设定</div>   
 		    <div>物料组合设定</div>   
    		<div>物料图片设定</div>   
		</div>  
		
		  
		<div id="mm1" style="width:150px;" >   
   			<div>条码打印</div>   
    		<div>询价查询</div>   
    		<div>物料数据校正</div>   
		</div> 
		 
		
		</div>
	
   		

</body>
</html>